import { http } from './http'
import { customer } from './url'

export function getCustomerList(params: any, page: any) {
    const url = `${customer.getCustomerList}?pageIndex=${page.pageIndex}&pageSize=${page.pageSize}`
    return http.post<any>(url, params)
}

export function updateCustomer(params: any) {
    const url = customer.updateCustomer;
    return http.post<any>(url, params)
}